package com.umbrella.model;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 *
 *
 * @author Wan, ChuanLong @ 08/29/2018
 */

@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class AreaVO {

	Integer id;
	String name;
	String en;
	@JsonIgnore
	Integer parent;
	@JsonIgnore
	Integer type;
	List<AreaVO> children;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEn() {
		return en;
	}

	public void setEn(String en) {
		this.en = en;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public List<AreaVO> getChildren() {
		return children;
	}

	public void setChildren(List<AreaVO> children) {
		this.children = children;
	}

}
